﻿//SCRIPT FÖR BEKRÄFTELSE VID "DELETE"

$(document).ready(function () {

    $('#deleteTopic').click(function () {
        if (confirm("Warning: Every answer and or solution posted within this topic will also be deleted. Continue?")) {
            this.commit();
        } 
        return false;
    });
    
    $('.deletePost').click(function () {
        if (confirm("Are you sure you want to delete this post permanently?")) {
            this.commit();
        } 
        return false;
    });    

});